package com.project.service.impl;

import com.project.bean.Citybean;
import com.project.mapper.ICityMapper;
import com.project.service.ICityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author(王思翰)
 * @Description(类的描述)城市业务层实现类
 * @Date(创建时间) 2021/7/13 15:48
 */
@Service
@Transactional
public class CityServiceIpml implements ICityService {
    @Autowired
    private ICityMapper mapper;

    @Override
    public List<Citybean> findByAll() {
        return mapper.findByAll();
    }
}
